<template>
  <div class="row">
    <!-- 遍历渲染 -->
    <Item
      v-for="user in todoList"
      :key="user.id"
      v-bind="user"
      :changedoneHandle="changedoneHandle"
      :deletetodoHandle="deletetodoHandle"
    />
  </div>
</template>

<script>
import Item from "./Item/Item.vue";
export default {
  name: "Main",
  components: { Item },
  props: ["todoList", "changedoneHandle", "deletetodoHandle"],
};
</script>

<style></style>
